package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-09-14
 */
@TableName("disk_skydrive")
public class Skydrive extends Model<Skydrive> {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 父节点id
     */
	private Integer pid;
    /**
     * 当前文件名
     */
	@TableField("file_name")
	private String fileName;
    /**
     * 完整路径名
     */
	@TableField("file_full_name")
	private String fileFullName;
    /**
     * 文件访问的url
     */
	@TableField("file_url")
	private String fileUrl;
    /**
     * 是否是文件夹，1：是文件夹，0：不是文件夹
     */
	@TableField("is_forder")
	private Integer isForder;
    /**
     * 是否是共享文件，1：是共享文件夹，0：不是共享文件夹
     */
	@TableField("is_share")
	private Integer isShare;
    /**
     * 创建人
     */
	@TableField("create_id")
	private Integer createId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 修改人
     */
	@TableField("modify_id")
	private Integer modifyId;
    /**
     * 修改时间
     */
	@TableField("modify_time")
	private Date modifyTime;
    /**
     * 上传文件个数
     */
	@TableField("upload_size")
	private Integer uploadSize;
    /**
     * 缩略图链接
     */
	@TableField("small_picture_url")
	private String smallPictureUrl;
    /**
     * 后缀名
     */
	@TableField("file_suffix_name")
	private String fileSuffixName;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileFullName() {
		return fileFullName;
	}

	public void setFileFullName(String fileFullName) {
		this.fileFullName = fileFullName;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public Integer getIsForder() {
		return isForder;
	}

	public void setIsForder(Integer isForder) {
		this.isForder = isForder;
	}

	public Integer getIsShare() {
		return isShare;
	}

	public void setIsShare(Integer isShare) {
		this.isShare = isShare;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getModifyId() {
		return modifyId;
	}

	public void setModifyId(Integer modifyId) {
		this.modifyId = modifyId;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getUploadSize() {
		return uploadSize;
	}

	public void setUploadSize(Integer uploadSize) {
		this.uploadSize = uploadSize;
	}

	public String getSmallPictureUrl() {
		return smallPictureUrl;
	}

	public void setSmallPictureUrl(String smallPictureUrl) {
		this.smallPictureUrl = smallPictureUrl;
	}

	public String getFileSuffixName() {
		return fileSuffixName;
	}

	public void setFileSuffixName(String fileSuffixName) {
		this.fileSuffixName = fileSuffixName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
